#!/bin/bash
# FIXME 需要修改 assembly.jar 修改 项目名称.jar 注：暂不支持多个实例停止
ID=`ps -ef | grep assembly.jar | grep -v grep | awk '{print $2}'`
if [ "$ID" = "" ];
then
  echo "task is empty"
else
  kill -9 $ID
  echo "task id is $ID killed"
fi
